projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d305862
)
core: Initialize variables in fsck
author
Colin Walters
<walters@verbum.org>
Thu, 8 Dec 2011 23:23:13 +0000
(18:23 -0500)
committer
Colin Walters
<walters@verbum.org>
Thu, 8 Dec 2011 23:23:25 +0000
(18:23 -0500)
Otherwise we segfault on an unhandled filename.
src/libostree/ostree-repo.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-repo.c
b/src/libostree/ostree-repo.c
index af198c838a39deaec18bbdcd788be8b5e28d1965..f1807738f4ac8c2da8471d768f52b1beae3cbc1e 100644
(file)
--- a/
src/libostree/ostree-repo.c
+++ b/
src/libostree/ostree-repo.c
@@
-1905,8
+1905,8
@@
iter_object_dir (OstreeRepo *self,
{
const char *name;
guint32 type;
- char *dot;
- GFile *child;
+ char *dot
= NULL
;
+ GFile *child
= NULL
;
GString *checksum = NULL;
OstreeObjectType objtype;